package dxn.nl.file.client.model.enums;

public enum ExportMessageTypeEnum {
    heartbeat("心跳包", 0),
    server_connect("处理端连接", 1),
    client_connect("客户端连接", 2),
    query_head("查询表头", 10),
    query_data("查询数据",20),
    send_data("发送数据",22),
    create_export("创建导出申请", 30),
    apply_deal("申请处理数据", 40),
    deal_result("处理结果", 41),
    consumer_heart_beat("消费心跳包", 50),
    consumer_query_data("消费拉取数据", 51),
    consumer_deal_result("消费处理结果", 52);

    // 成员变量
    public final String name;
    public final int code;

    // 构造方法
    ExportMessageTypeEnum(String name, int code) {
        this.name = name;
        this.code = code;
    }
}
